<style>
    body{
        background-color: #f9f9f9;
        overflow: hidden;
    }
</style>
<script>
    {% if staffInfo!=1 %}
        var staffInfo={{ staffInfo }};
    {% endif %}
</script>
<form id="xh_form" class="xh-form"  method="post"  action="{{ url('hrm/staff/saveStaff') }}" style="margin-left: 20px;">
    <div class="xh-area-form">
        <table width="100%">
            <tr style="display: none;">
                <td><input  name="iDepId" type="text" >
                    <input  name="iStaffId" type="text" >
                </td>
            </tr>
            {#<tr><td colspan="6"><h4 class="header-text m-top-lg">基本信息</h4></td></tr>#}
            <tr>
                <td><label>姓名:</label></td>
                <td><input  name="sStaffName" must="true" type="text" ></td>
                <td><label >性别:</label></td>
                <td>
                    <select  name="iUserSex" type="text">
                        <option style="display: none" value="" selected>请选择</option>
                        <option value="1">男</option>
                        <option value="2">女</option>
                    </select>
                </td>
                <td><label>是否婚配:</label></td>
                <td>
                    <select name="bMarried" type="text">
                        <option style="display: none" value="" selected>请选择</option>
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </select>
                </td>
            </tr>

            <tr>
                <td><label >出生年月:</label></td>
                <td><input  class="form-date" name="tBirthday" must="true"  type="text"  ></td>
                <td><label >民族:</label></td>
                <td>
                    <input  name="sNationName"   type="text" >
                </td>
                <td><label >籍贯:</label></td>
                <td><input  name="sNativePlace"   type="text" ></td>
            </tr>

            <tr>
                <td><label>部门:</label></td>
                <td><input  name="sDepName" type="text" readonly></td>
                <td><label>联系方式:</label></td>
                <td><input   name="sSelfPhone" must="true" type="text" ></td>
                <td><label>身份证号:</label></td>
                <td><input  name="sIdentityCode" must="true" type="text" ></td>

            </tr>
            <tr>
                <td><label>毕业学校:</label></td>
                <td><input   name="sGraduateSchool"   type="text"  ></td>

                <td><label>最高学历:</label></td>
                <td><input   name="sCultureLevel" type="text"></td>
                <td><label>毕业时间:</label></td>
                <td><input   class="form-month" name="tGraduateDate" type="text"></td>
            </tr>
            <tr>
                <td><label>专业:</label></td>
                <td><input  name="sProfession"   type="text" ></td>
                <td><label>岗位:</label></td>
                <td><input  name="sPostName" type="text" ></td>
                <td><label>入职时间:</label></td>
                <td><input  name="tHireDate" type="date" must="true"></td>
            </tr>
            {#<tr><td colspan="6"><h4 class="header-text m-top-lg">联系方式</h4></td></tr>#}


            <tr>
                <td><label>紧急联系人:</label></td>
                <td><input   name="sContractName"   type="text"  ></td>
                <td><label>联系人关系:</label></td>
                <td><input  name="sContractRelation" type="text" ></td>
                <td><label>联系人电话:</label></td>
                <td><input   name="sContractPhone" type="text"></td>
            </tr>

            <tr>
                <td><label>QQ:</label></td>
                <td><input   name="sQQNum"   type="text"  ></td>
                <td><label>微信:</label></td>
                <td><input  name="sWeChatNum" type="text" ></td>
                <td><label>邮箱:</label></td>
                <td><input   name="sEmailAddress" type="text"></td>
            </tr>
            <tr>
                <td><label>户籍地址:</label></td>
                <td colspan="3"><input   name="sFamilyAddress"   type="text"  ></td>
                <td><label>职称:</label></td>
                <td><input   name="sPostLevel"   type="text"  ></td>
                {#<td><label>头像:</label></td>#}
                {#<td><input   name="sPrIcon"   type="file"  accept="image/vnd.sealedmedia.softseal-jpg,image/jpeg,image/gif,image/x-png" ></td>#}
            </tr>
            <tr>

                <td><label>现居住地:</label></td>
                <td colspan="3"><input   name="sNowAddress"   type="text"  ></td>
                {#<td><label>职位等级:</label></td>#}
                {#<td><select   name="iStaffLevel"   type="text"  >#}
                        {#<option value="" style="display: none" selected>请选择</option>#}
                        {#{% for id,text in iStaffLevel %}#}
                            {#<option value="{{ id }}">{{ text }}</option>#}
                        {#{% endfor %}#}
                    {#</select>#}
                {#</td>#}
            </tr>

            {#<tr><td colspan="6"><h4 class="header-text m-top-lg">工作相关</h4></td></tr>#}
            {#<tr>#}
                {#<td><label>开始工作时间:</label></td>#}
                {#<td><input  class="form-month" name="tStartWork"   type="text"  ></td>#}
                {#<td><label>入职时间:</label></td>#}
                {#<td><input class="form-date" name="tHireDate" type="text" ></td>#}
                {#<td><label>转正时间:</label></td>#}
                {#<td><input  class="form-date" name="tRegularDate" type="text"></td>#}
            {#</tr>#}

            {#<tr>#}
                {#<td><label>合同领用情况:</label></td>#}
                {#<td><input   name="sContractStatus"   type="text"  ></td>#}
                {#<td><label>合同期限:</label></td>#}
                {#<td><input  name="sContentDate" type="text" ></td>#}
                {#<td><label>签订次数:</label></td>#}
                {#<td><input   name="iSignNumber" type="text"></td>#}
            {#</tr>#}


            {#<tr>#}
                {#<td><label>社保缴纳日期:</label></td>#}
                {#<td><input  class="form-date" name="tSocialPayDate"   type="text"  ></td>#}
                {#<td><label>社保缴纳状态:</label></td>#}
                {#<td><input  name="sSocialPayStatus" type="text" ></td>#}
                {#<td><label>公积金缴纳状态:</label></td>#}
                {#<td><input   name="sSurplusPayStatus" type="text"></td>#}
            {#</tr>#}

            {#<tr>#}

                {#<td><label>招商银行卡号:</label></td>#}
                {#<td><input   name="sBankCard" type="text"></td>#}
                {#<td><label>是否在休假:</label></td>#}
                {#<td>#}
                    {#<select  name="bInHoliday" >#}
                        {#<option style="display: none" value="" selected>请选择</option>#}
                        {#<option  value="0" >否</option>#}
                        {#<option  value="1">是</option>#}
                    {#</select>#}
                {#</td>#}
                {#<td><label>工作状态:</label></td>#}
                {#<td>#}
                    {#<select  name="iWorkStatus" >#}
                        {#<option style="display: none" value="" selected>请选择</option>#}
                        {#{% for id,text in  iWorkStatus %}#}
                            {#<option value="{{ id }}">{{ text }}</option>#}
                        {#{% endfor %}#}
                    {#</select>#}

                {#</td>#}
            {#</tr>#}
            {#<tr>#}
                {#<td><label>职工状态:</label></td>#}
                {#<td>#}
                    {#<select  name="iStaffStatus" >#}
                        {#<option style="display: none" value="" selected>请选择</option>#}
                        {#{% for id,text in  iStaffStatus %}#}
                            {#<option value="{{ id }}">{{ text }}</option>#}
                        {#{% endfor %}#}
                    {#</select>#}
                {#</td>#}

                {#<td><label>录用状态:</label></td>#}
                {#<td>#}
                    {#<select  name="iOfferStatus" >#}
                        {#<option style="display: none" value="" selected>请选择</option>#}
                        {#{% for id,text in  iOfferStatus %}#}
                            {#<option value="{{ id }}">{{ text }}</option>#}
                        {#{% endfor %}#}
                    {#</select>#}
                {#</td>#}
                {#<td><label>离职时间:</label></td>#}
                {#<td><input class="form-date" name="tLeaveTime" type="text" readonly></td>#}
            {#</tr>#}
            {#<tr>#}
                {#<td><label>退休时间:</label></td>#}
                {#<td><input class="form-date" name="tRetireTime" type="text" readonly></td>#}
            {#</tr>#}

        </table>
    </div>
    <div class="xh-area-button" style="padding-left: 75px;background-color: inherit">
        {% if FormButton is defined %}{{ FormButton }}{% endif %}
    </div>
</form>